<%@ include file="/WEB-INF/pages/common/taglibs.jsp" %>
<script type="text/javascript">
    function submitCase1() {
        submitForm("addRecordsForm", "/monitor/cases/case1/search.action");
    }

    function submitCase2() {
        submitForm("addRecordsForm", "/monitor/cases/case2/search.action");
    }

    function submitCase3() {
        submitForm("addRecordsForm", "/monitor/cases/case3/search.action");
    }

    function submitCase4() {
        submitForm("addRecordsForm", "/monitor/cases/case4/search.action");
    }

    function submitCase5() {
        submitForm("addRecordsForm", "/monitor/cases/case5/search.action");
    }

    function submitCase6() {
        submitForm("addRecordsForm", "/monitor/cases/case6/search.action");
    }

    function submitCase7() {
        submitForm("addRecordsForm", "/monitor/cases/case7/search.action");
    }

    function submitCase8() {
        submitForm("addRecordsForm", "/monitor/cases/case8/search.action");
    }

    function submitCase9() {
        submitForm("addRecordsForm", "/monitor/cases/case9/search.action");
    }

    function submitCase10() {
        submitForm("addRecordsForm", "/monitor/cases/case10/search.action");
    }    


    function back() {
        submitForm("addRecordsForm", "clientSummary.action");
    }
</script>
<s:form name="addRecordsForm">
<s:hidden name="fromInd"/>
<table align="center" cellpadding="0" cellspacing="0" class="body_content full_width">
<tr>
    <td align="left" valign="bottom" class="main_page_content_icon" width="4%">
        <img src='<c:url value="/images/body-icon_check.gif"/>'  width="29" height="44">
    </td>
    <td valign="bottom" class="page_title_bg" width="96%"><span class="page_title"><s:text
            name='label.case.select.title'/></span></td>
</tr>
<tr>
<td class="subcontent">&nbsp;</td>
<td class="subcontent">
<table class="full_width" border="0" cellpadding="0" cellspacing="0"><br>
<br>
<tr class="even">
    <th width="5%">
        <s:text name='label.seq'/>
    </th>
    <th>
        <s:text name='label.case.select.sub.title'/>
    </th>
</tr>

<tr class="odd">
    <td>
        1
    </td>

    <td>
        <s:if test='#attr.user.permission1=="Y"'>
            <s:a href="javascript:submitCase1()">
                <s:text name="label.case.select.title1"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title1"/>
        </s:else>
    </td>
</tr>
<tr class="even">
    <td>
        2
    </td>

    <td>
        <s:if test='#attr.user.permission2=="Y"'>
            <s:a href="javascript:submitCase2()">
                <s:text name="label.case.select.title2"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title2"/>
        </s:else>
    </td>
</tr>
<tr class="odd">
    <td>
        3
    </td>

    <td>
        <s:if test='#attr.user.permission3=="Y"'>
            <s:a href="javascript:submitCase3()">
                <s:text name="label.case.select.title3"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title3"/>
        </s:else>
    </td>
</tr>
<tr class="even">
    <td>
        4
    </td>

    <td>
        <s:if test='#attr.user.permission4=="Y"'>
            <s:a href="javascript:submitCase4()">
                <s:text name="label.case.select.title4"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title4"/>
        </s:else>
    </td>
</tr>
<tr class="odd">
    <td>
        5
    </td>

    <td>
        <s:if test='#attr.user.permission5=="Y"'>
            <s:a href="javascript:submitCase5()">
                <s:text name="label.case.select.title5"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title5"/>
        </s:else>
    </td>
</tr>
<tr class="even">
    <td>
        6
    </td>

    <td>
        <s:if test='#attr.user.permission6=="Y"'>
            <s:a href="javascript:submitCase6()">
                <s:text name="label.case.select.title6"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title6"/>
        </s:else>
    </td>
</tr>
<tr class="odd">
    <td>
        7
    </td>

    <td>
        <s:if test='#attr.user.permission7=="Y"'>
            <s:a href="javascript:submitCase7()">
                <s:text name="label.case.select.title7"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title7"/>
        </s:else>
    </td>
</tr>
<tr class="even">
    <td>
        8
    </td>

    <td>
        <s:if test='#attr.user.permission8=="Y"'>
            <s:a href="javascript:submitCase8()">
                <s:text name="label.case.select.title8"/>
            </s:a>
        </s:if>
        <s:else>
            <s:text name="label.case.select.title8"/>
        </s:else>
    </td>
</tr>
    <tr class="odd">
        <td>
            9
        </td>

        <td>
            <s:if test='#attr.user.permission9=="Y"'>
                <s:a href="javascript:submitCase9()">
                    <s:text name="label.case.select.title9"/>
                </s:a>
            </s:if>
            <s:else>
                <s:text name="label.case.select.title9"/>
            </s:else>
        </td>
    </tr>
    <tr class="even">
        <td>
            10
        </td>

        <td>
            <s:if test='#attr.user.permission10=="Y"'>
                <s:a href="javascript:submitCase10()">
                    <s:text name="label.case.select.title10"/>
                </s:a>
            </s:if>
            <s:else>
                <s:text name="label.case.select.title10"/>
            </s:else>
        </td>
    </tr>

<tr class="odd">
    <td colspan="2"  class="txtData" align="left">
        <input type="button" class="button" value="<s:text name='label.back'/>" onclick="back();">
    </td>
    </tr>
</table>
</td>
</tr>
</table>
</s:form>
